package extend

import "fmt"

type Engine struct {
	Model string
}

type Car struct {
	Engine
	Brand string
}

type Animal struct {
	Name string
}

func (a Animal) Speak() {
	fmt.Println("Animal speaks")
}

type Dog struct {
	NAME  Animal
	Breed string
}
